﻿using System;
using System.Collections.Generic;
using System.Text;

namespace QDPay.Bus.domain.json
{
    public class PayResponse
    {
        /// <summary>
        /// 错误代码(错误时返回)
        /// </summary>
        public string err_code { get; set; }
        /// <summary>
        /// 错误描述(错误时返回)
        /// </summary>
        public string err_code_des { get; set; }
        /// <summary>
        /// 订单号
        /// </summary>
        public string out_trade_no { get; set; }  
        /// <summary>
        /// 支付状态 SUCCESS:支付成功, REFUND—转入退款, NOTPAY:未支付, CLOSED:已关闭, REVOKED:已撤销(刷卡支付), USERPAYING:用户支付中, PAYERROR:支付失败(其他原因，如银行返回失败)
        /// </summary>
        public string trade_state { get; set; }
        /// <summary>
        /// 时间戳
        /// </summary>
        public int timestamp { get; set; }
    }
}
